﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="DengShijieShySharkWebApp.ChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Changing passsword for:"></asp:Label></td>
                <td></td>
                <td></td>
            </tr>
                        <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
                            </td>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                            </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPassword" ErrorMessage="Please specify a valid password" Display="Dynamic" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                            </td>
            </tr>
                        <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="Confirm password"></asp:Label>
                            </td>
                <td>
                    <asp:TextBox ID="txtConfPassword" runat="server" TextMode="Password"></asp:TextBox>
                            </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtConfPassword" ErrorMessage="Please specify a valid password" Display="Dynamic" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Password not matched,please try again" ControlToCompare="txtPassword" ControlToValidate="txtConfPassword" Display="Dynamic" ForeColor="#FF3300"></asp:CompareValidator>           
                </td>
            </tr>
                        <tr>
                <td></td>
                <td>
                    <asp:Button ID="btnSubmit" runat="server" Text="Submit" />
                            </td>
                <td></td>
            </tr>
                        <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>

        </table>
    </div>
</form>
</asp:Content>
